﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;
using DAL;

namespace Entities.PBCM
{
  
    public class ThietBi : BaseEntity<ThietBi>
    {
        [MapField("MaThietBi"), PrimaryKey]
        public String MaThietBi { get; set; }
        public String TenThietbi { get; set; }
    
        public int TinhTrang { get; set; }
        public float DonGia { get; set; }
        //[MapIgnore]
        //public string tentinhtrang
        //{
        //    get
        //    {
        //        return tinhtrang == 1 ? "hỏng" : "tốt";
        //    }
        //}
    }
}
